package com.asurplus.common.caffeine.config;

import com.asurplus.common.caffeine.cache.SysDictCaffeineCache;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置类
 */
@Configuration
public class CaffineCacheConfig {

    /**
     * 数据字典缓存
     *
     * @return
     */
    @Bean
    public SysDictCaffeineCache sysDictCaffeineCache() {
        return new SysDictCaffeineCache();
    }
}
